import request from "@/utils/request";

// 列表
export function sealListApi(data) {
    return request({
        url: "/system/seal/list",
        method: "get",
        params: data,
    });
}


// 任务印章详情
export function achievementDetail(taskId){
    return request({
        url: "/system/seal/seals/" + taskId,
        method: "get",
    })
}


//  成果印章详情
export function delDetail(taskId) {
    return request({
        url: "/system/seal/" + taskId,
        method: "get",
    })
}





export function detail(taskId) {
    return request({
        url: "/system/seal/detail/" + taskId,
        method: "get",
    })

}




// 删除
export function sealDeleteApi(data) {
    return request({
        url: '/system/seal/' + data,
        method: 'delete',
    })
}



// 更新
export function updateSealApi(data) {
    return request({
        url: '/system/seal/update',
        method: 'put',
        data
    })
}


